//
//  Api.h
//  MyFrameWork
//
//  Created by eason on 16/4/25.
//  Copyright © 2016年 普惠. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ApiConfig.h"
#import "ApiRequest.h"
#import "ApiResponse.h"
#import "NetRequestClass.h"
#import "ApiModel.h"

@interface Api : NSObject

/*!
 @method
 @brief 获取单实例
 @discussion
 @result Api实例对象
 */
+ (Api *)sharedInstance;

/*****************************走进虎门************************************/

/*!
 @method
 @brief 异步方法, 获取虎门简介
 @discussion
 @param successblock 成功回调
 @param errorBlock   错误回调
 @param failureBlock 失败回调
 @result
 */
- (void)asyncHumenIntroduceWithSuccess:(void (^) (TestModel * bean))successblock WithErrorBlock:(ErrorBlock)errorBlock WithFailureBlock:(FailureBlock)failureBlock;

@end
